﻿using System;
using System.Windows;
using Kiva7.ViewModels;

namespace Kiva7.Pages
{
    public partial class MainMapPage
    {
        private const string Url = "/Pages/MainMapPage.xaml";
        public readonly static Uri PageUrl = new Uri(Url, UriKind.RelativeOrAbsolute);

        public MainMapPage()
        {
            InitializeComponent();
            CreateStandardControls();
        }

        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            this.DataContext = DataController.ViewModel;
        }
    }
}